namespace CSharpPro._0916;

public class Phone
{
    private string brand;
    private int weight;      
    private int camera;      
    private int price;       

    public Phone(string brand, int weight, int camera, int price)
    {
        this.brand = brand;
        this.weight = weight;
        this.camera = camera;
        this.price = price;
    }

    public void Print()
    {
        Console.WriteLine($"手机品牌：{brand}");
        Console.WriteLine($"手机重量：{weight}g");
        Console.WriteLine($"手机摄像头：{camera}像素");
        Console.WriteLine($"手机价格：{price}元");
    }
}